<link rel="stylesheet" href="__STATIC__/admin/css/welcome.css?v={:time()}" media="all">
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-row layui-col-space15">
                    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                        <legend>入库单信息</legend>
                      </fieldset>
                       
                      <div class="layui-form">
                        <table class="layui-table" lay-skin="nob">
                          <tbody>
                             
                            <tr>
                              <td layui-col-md6>入库单号：{$row.receipt_no|default='无'}</td>
                                <td layui-col-md6>入库单名称：{$row.receipt_name|default='无'}</td>
                                <td layui-col-md6>入库人：{$row.receipt_username|default='无'}</td>
                            </tr>
                            <tr>
                                <td layui-col-md6>入库类型：
                                    <if condition="$row.receipt_type eq 1 "> 采购入库
                                        <else /> 作废入库
                                    </if>
                                </td>
                                <td layui-col-md6>入库时间：{$row.warehousing_time|default='无'}</td>
                            </tr>
                          </tbody>
                        </table>
                      </div>


                    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                        <legend>入库商品</legend>
                    </fieldset>

                    <div class="layui-form" style="width: 700px;">
                        <table class="layui-table" >
                            <colgroup>
                                <col width="50">
                                <col width="200">
                                <col width="150">
                                <col width="150">
                                <col>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>商品</th>
                                <th>商品分类</th>
                                <th>入库数量</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td layui-col-md6>入库单号：{$row.receipt_no|default='无'}</td>
                                <td layui-col-md6>入库单名称：{$row.receipt_name|default='无'}</td>
                                <td layui-col-md6>入库人：{$row.receipt_username|default='无'}</td>
                                <td layui-col-md6>入库人：{$row.receipt_no|default='无'}</td>
                            </tr>
                            <tr>
                                <td layui-col-md6>入库类型：{$row.receipt_no|default='无'}</td>
                                <td layui-col-md6>入库时间：{$row.receipt_no|default='无'}</td>
                                <td layui-col-md6>入库时间：{$row.receipt_no|default='无'}</td>
                            </tr>



                            </tbody>
                        </table>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
<script>

    layui.use(['form','upload'], function(){
        var form = layui.form;
        var upload = layui.upload;
        var $ = layui.$

        $.ajax({
            url:'/admin/gwa.goods_warehousing/goodw_detail',
            data:{id:"{$row.id}"},
            dataType:'json',
            type:'POST',
            success(res){
            }
        })
    });
</script>